FROM openjdk:17
ARG JAR
COPY ${JAR} /app/app.jar
WORKDIR /app
EXPOSE 8090
ENTRYPOINT ["java", "-jar","-Duser.timezone=GMT+08", "app.jar"]
# 容器卷挂载必须绝对路径